/*eslint-env mocha*/
/*global BOOMR_test,assert*/

describe("e2e/21-continuity/40-pointerdown-pointercancel", function() {
	var tf = BOOMR.plugins.TestFramework;
	var t = BOOMR_test;

	it("Should have sent a single beacon validation", function(done) {
		t.validateBeaconWasSent(done);
	});

	it("Should not have sent pointerdown timeline with pointercancel event(c.t.pd)", function() {
		var b = tf.lastBeacon();
		assert.isUndefined(b["c.t.pd"], "c.t.pd should not have been present");
	});

	it("Should have not sent FID metric for pointerdown interaction (c.fid)", function() {
		var b = tf.lastBeacon();
		assert.isUndefined(b["c.fid"], "c.fid should not have been present");
	});
});
